package com.itboye.eweilisten.me.home.fragment;

import android.util.Log;
import android.view.View;
import android.webkit.WebView;

import com.itboye.eweilisten.R;
import com.itboye.eweilisten.base.BaseFragment;
import com.itboye.eweilisten.util.sputil.Const;

/**
 * @author xiaoyuan
 */
public class FragmentGoods extends BaseFragment {
    WebView webview;
    String id;

    public static FragmentGoods newInstance() {
        FragmentGoods fragment = new FragmentGoods();
        return fragment;
    }

    @Override
    public int initView() {
        return R.layout.fragment_goodstedatil;
    }

    @Override
    public void onMyActivityCreated() {

        id=getActivity().getIntent().getStringExtra("id");
        Log.d("ohohohohoh",id+"");
        webview.loadUrl(Const.GOODS_DETILE+id);
    }

    @Override
    public void onClick(View v) {

    }
}
